/*
 * @Author: your name
 * @Date: 2022-01-24 11:06:16
 * @LastEditTime: 2022-01-24 11:13:35
 * @LastEditors: LAPTOP-L472H14P
 * @Description: In User Settings Edit
 * @FilePath: \react_front_engineer\src\NodeJs\express\05内置中间件的使用.js
 */
const express = require("express");
const app = express();
app.use(express.json())
app.use(express.urlencoded({extended: false}))
app.post("/userinfo", (resquest,response)=>{
    console.log(resquest.body);
    response.send(resquest.body);
})
app.listen("3000", ()=>{
    console.log("serveing is running");
})